package cn.findviewbydream.evil.main.entity;

import java.io.Serializable;

/********************************************
 * 工程名：HebeuCS
 * 包名：cn.findviewbydream.evil.main.entity
 * 时间：16-11-5 上午11:51
 * 作者：白雨濃 evil
 * 邮箱：evilbai@foxmail.com
 * 内容：黑名单实体
 ********************************************/
public class BlackEntity implements Serializable
{
    private String userName;/*用户名*/
    private boolean black;/*是否在黑名单->true 1 为在黑名单*/

    public BlackEntity(String userName, boolean black)
    {
        this.userName = userName;
        this.black = black;
    }

    public String getUserName()
    {
        return userName;
    }

    public void setUserName(String userName)
    {
        this.userName = userName;
    }

    public boolean isBlack()
    {
        return black;
    }

    public void setBlack(boolean black)
    {
        this.black = black;
    }

    @Override
    public String toString()
    {
        return "BlackEntity{" +
                "userName='" + userName + '\'' +
                ", black=" + black +
                '}';
    }
}
